package com.cskaoyan.controller.wx;

import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.wx.WxUserIndexVo;
import com.cskaoyan.service.wx.WxUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jzp
 * @since 2022/11/23 09:10
 */
@RestController
@RequestMapping("wx/user/")
public class WxUser {
    @Autowired
    WxUserService wxUserService;

    @RequestMapping("index")
    public BaseRespVo index(){
        WxUserIndexVo wxUserIndexVo = wxUserService.index();
        return BaseRespVo.succeed(wxUserIndexVo);
    }

}
